﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace music
{
    class Program
    {
        static void Main(string[] args)
        {
            creator creat = new creator();
            To_show sh = new To_show();

            genre_s gs1 = new genre_s();
            gs1.type = "Song";
            gs1.gener = "Pop";
            gs1.performer = "Alize";
            gs1.Name = "Lolita";
            gs1.length = 3.0;
            
            genre_s gs2 = new genre_s();
            gs2.type = "Song";
            gs2.gener = "Rep";
            gs2.Name = "A we are not angel";
            gs2.performer = "Lumen";
            gs2.length = 2.5;
            
            genre_i gi1 = new genre_i();
            gi1.type = "Instrumental";
            gi1.instrument = "Piano";
            gi1.gener = "Clasic";
            gi1.performer = "Bax";
            gi1.Name = "Mon";
            gi1.length = 5.0;
            


            genre_i gi2 = new genre_i();
            gi2.type = "Instrumental";
            gi2.instrument = "Piano";
            gi2.gener = "Clasic";
            gi2.performer = "Bax";
            gi2.Name = "Sun";
            gi2.length = 5.5;


            gs2.creat_composit(500);
            gi1.creat_composit(1000);
            gs1.creat_composit(5000);
            gi2.creat_composit(3000);

            sh.Show(gs1);
            sh.Show(gs2);
            sh.Show(gi1);
            sh.Show(gi2);

            get_lenght coast = new get_lenght();
            coast.getLenght(gs2, gi1, gs1, gi2);
            Console.ReadLine();
        }
    }
}
